home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Format 1994 October
/
Macformat17.cdr
/
Shareware City
/
Developers
/
shutdown-fx-201-c
/
sfx ƒ
/
sfx startup app ƒ
/
sfx code ƒ
/
program globals.h
next >
Wrap
Text File
|
1994-07-11
|
2KB
|
58 lines
/**********************************************************************\
File: program globals.h
Purpose: This is the header file for all the program-specific
global variables, #defines, enums, and structs.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program in a file named "GNU General Public License".
If not, write to the Free Software Foundation, 675 Mass Ave,
Cambridge, MA 02139, USA.
\**********************************************************************/
#ifndef _PROGRAM_GLOBALS_H_
#define _PROGRAM_GLOBALS_H_
#define CREATOR '2fx2'
#define USED_TYPE 'Fade'
#define UNUSED_TYPE 'Fad0'
#define MODULE_FOLDER "\pMSG Fades"
enum
{
allsWell=0,
kSystemTooOld,
kCantGetProc10Resource,
kCantGetProc11Resource,
kNoMemoryInSystemHeap,
kCantMakeNewGestalt,
kGestaltImproperlyInstalled,
kCantFindSystemFolder,
kCantFindModuleFolder,
kNoModulesInFolder,
kCantOpenModule,
kModuleDamaged,
kCantGetModuleInfo,
kNoModulesInstalled,
kPrefsError,
kProgramIntegrityNotVerified,
kProgramIntegritySet
};
extern short gModuleIndex;
extern char gChooseRandom, gOnRestart, gOnShutdown, gFadeEarly;
#endif